#pragma once

class XTask
{
public:
        struct event_base *base = 0;
        int sock = 0;
        int thread_id = 0;

        //初始化任务
        virtual bool Init() = 0;
};


